FileIF.moveAsync

Asynchronously moves a file @source to the location of @destination. For details of the behaviour, see g_file_move().

If @progress_callback is not %NULL, then that function that will be called just like in g_file_move(). The callback will run in the default main context of the thread calling g_file_move_async() — the same context as @callback is run in.

When the operation is finished, @callback will be called. You can then call g_file_move_finish() to get the result of the operation.

Parameters

destination FileIF

#GFile pointing to the destination location

flags GFileCopyFlags

set of #GFileCopyFlags

ioPriority int

the [I/O priority][io-priority] of the request

cancellable Cancellable

optional #GCancellable object, %NULL to ignore

progressCallback GFileProgressCallback

#GFileProgressCallback function for updates

progressCallbackData void*

gpointer to user data for the callback function

callback GAsyncReadyCallback

a #GAsyncReadyCallback to call when the request is satisfied

userData void*

the data to pass to callback function

Meta

Since

2.72